PostNLWooCommerce\Utils C

Total Complexity 108
Dependencies 6
Dependents 21
Total lines 816
Lines of code 414
Logical lines of code 210
Comment lines 284
Methods 39
Properties 0

Methods 39

Method Rating Maintainability Complexity Lines of code
fields_generator()
A
45 15 42
parse_args()
A
47 14 33
check_products_for_letterbox()
S
51 7 23
is_order_eligible_auto_letterbox()
S
53 6 24
get_shipping_options()
S
46 4 39
generate_shipping_options_html()
S
59 5 13
get_shipping_zone()
S
62 4 12
unset_empty_values()
S
63 4 11
get_filtered_pickup_points_infos()
S
53 2 25
is_json()
S
68 3 7
get_hour_min()
S
64 3 10
is_canary_island()
S
65 3 9
is_cart_eligible_auto_letterbox()
S
65 3 9
get_barcode_range()
S
64 3 10
get_paper_size()
S
61 2 13
get_selected_label_features()
S
62 2 12
convert_data_key()
S
70 2 6
get_cart_shipping_method_id()
S
68 2 7
maybe_convert_km()
S
73 2 4
generate_tracking_url()
S
59 1 15
generate_delivery_date_html()
S
63 2 9
check_available_currency()
S
70 2 6
get_label_response_type()
S
61 1 14
days_of_week()
S
62 1 11
get_available_country()
S
79 1 3
generate_label_name()
S
77 1 3
get_log_url()
S
80 1 3
maybe_convert_weight()
S
79 1 3
remove_prefix_field()
S
78 1 3
use_available_country()
S
78 1 3
get_base_state()
S
75 1 4
get_uom()
S
80 1 3
used_api_uom()
S
81 1 3
get_base_country()
S
75 1 4
use_available_currency()
S
79 1 3
get_woocommerce_currency()
S
80 1 3
get_available_currency()
S
76 1 4
prepare_shipping_options()
S
72 1 5
get_available_country_for_letterbox()
S
80 1 3